package com.imooc.user.enums;

import lombok.Getter;

/**
 * @author : 浦希成
 * @date : 2018/8/2 17:02
 */
@Getter
public enum RoleEnum {
    /**
     * 对应关系
     */
    BUYER(1,"买家"),
    SELLER(2,"卖家")
    ;

    private Integer code;

    private String message;

    RoleEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
